package com.guoqiang.struct;

public class DoWhileDemo02 {
    public static void main(String[] args) {
        int i = 0;
        while (i < 0) {
            System.out.println(i);
            i++;
        }
        System.out.println("=========================");
        // do…………while: 先执行语句，然后再检测循环条件
        do {
            System.out.println(i);
            i++;
        } while (i < 0);
    }
}
